class: center, middle, inverse, title-slide # Highlight a region in a country --- layout: true <div class="dk-footer"> <span> <a href="https://rfortherestofus.com/" target="_blank">R for the Rest of Us </a> </span> </div> --- class: center, middle, dk-section-title background-image:url("https://images.pexels.com/photos/7821576/pexels-photo-7821576.jpeg?cs=srgb&dl=pexels-rodnae-productions-7821576.jpg&fm=jpg") background-size: cover # Highlight a region in a country --- ### Simple highlighting of regions <!-- --> --- ### Focusing on highlighted regions <center> <img src='images/gg_texas_focus_counties.png' width='800px'/> </center> --- ### Highlight and label sub-regions <center> <img src='images/gg_texas_capital_county.png' width='800px'/> </center> --- ### Highlight and label sub-regions There are two steps to achieving this: - Add a <span style='color:#c03728'>fill aesthetic
</span> to the appropriate `geom_sf()` layer -- - Set the specific fill colors to use with <span style='color:#fd8f24'>scale_fill_manual()
</span>